import turtle as t
print(2420220065)
print("24大数据 1班温嘉怡")

def cantor(x, y, length, depth):
    t.penup()
    t.goto(x, y)
    t.pendown()
    if depth == 0:
        t.fd(length)
    else:
        cantor(x, y, length / 3, depth - 1)
        x = x + 2 * length / 3
        cantor(x, y, length / 3, depth - 1)


def main():
    t.setup(800, 800)
    t.speed(0)
    length = 600
    x = -length / 2
    y = 200
    for i in range(6):
        t.pensize(6 - i)
        cantor(x, y - 20 * i, length, i)
    t.hideturtle()
    t.done()


main()
